// @ts-ignore
import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'
import router from "./router/router";
import 'virtual:windi.css'
import './ax'
import jumpByName from './util/routeMethod'
import setLocal from './util/localstorge'
import getLocal from './util/localstorge'
import axios from "axios";

const app = createApp(App)

app.config.globalProperties.$jumpByName = jumpByName
app.config.globalProperties.$axios = axios
app.config.globalProperties.$setLocal = setLocal
app.config.globalProperties.$getLocal = getLocal

app.use(ElementPlus).use(createPinia()).use(router).mount('#app')
